package com.toycloud.system.domain.business;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.toycloud.business.dto.params.business.AssociationApplicationParams;
import com.toycloud.common.core.annotation.Excel;
import com.toycloud.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * 产品版本管理对象 feedback_product_version_manager
 * 
 * @author ruoyi
 * @date 2024-12-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FeedbackProductVersionManager
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 产品品类 */
    @NotNull(message = "产品品类不能为空")
    private String producttypeid;
    @Excel(name = "产品品类")
    private String producttypename;

    /** 产品型号 */
    @NotNull(message = "产品型号不能为空")
    private String productmodelid;
    @Excel(name = "产品型号")
    private String productmodelname;

    /** 型号版本 */
    @Excel(name = "型号版本")
    @NotNull(message = "型号版本不能为空")
    private String modelversion;

    /** 产品原型 */
    @Excel(name = "产品原型")
    private String productprototype;

    /** 0删除1正常 */
    private String hasDel;

    @TableField(exist = false)
    private List<FeedbackProductVersionManagerDetail> list;
    @TableField(exist = false)
    private List<String> applications;
    @TableField(exist = false)
    private List<AssociationApplicationParams> associationApplicationParams;

    @Excel(name = "更新时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @Excel(name = "创建时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String createBy;
    private String updateBy;
    private String remark;
}
